home *** CD-ROM | disk | FTP | other *** search
- ;
- ; $VER: DVIprint.printers 1.20 (20.05.94)
- ;
- ; This file defines all printers which use DVIprints fast hardcopy routines.
- ;
- ; The Generic, SLM804 (Atari only), DeskJet/LaserJet printers are not defined here,
- ; as they use special routines in DVIprint. However the description keywords
- ; may be used here too for these printers.
- ;
- ;
- ; List of keywords:
- ;
- ;printer <name> (required)
- ;draft on/off (optional)
- ;optimize on/off (optional)
- ; (if not given, command line arguments don't matter)
- ;
- ; The above keywords must *precede* the following ones:
- ;
- ;resolution <res> or <resx/rexy> (required)
- ;gfx_str <bytes> (required, ex. 27 * 3 LOW HIGH)
- ;skip_str <bytes> (required, ex. 27 J LOW)
- ;skips <bytes> (required, ex. 1 1 22)
- ;height <value> (required, ex. 24)
- ;blank <method> (required, SPACES, POINT or GFX)
- ; (the internal bitmap height is a multiple of
- ; this value)
- ;grouping <value> (required, 1 or 3 for 8 or 24 pins)
- ;
- ;paper_width <value> (required, ex. 8.0in)
- ; (width in some TeX dimension (same as for
- ; specifying offsets in DVIprint or ShowDVI))
- ;init_str <bytes> (optional, ex. 27 @)
- ;exit_str <bytes> (optional, ex. 27 @)
- ;ID_str <string> (optional)
- ;prtbuffer <value> (optional)
- ;
- ;description <no parameter> (optional)
- ; (starts a description of the current
- ; configuration. This description is dumped to
- ; the screen if the 'ShowPrinters' option of
- ; DVIprint is selected together with a printer
- ; name.)
- ;end_desc <no parameter> (required to end a description)
- ;# (required, ends definition)
- ;
- ;
- ; The following is allowed in a <bytes> argument:
- ; o decimal number (e.g. 27 for ESC)
- ; o 0xhex number (e.g. 0x1b for ESC)
- ; o 'ascii character' for the numbers 0-9. (e.g. '3')
- ; o ESC value 27
- ; o FS value 28
- ; o LOW, HIGH inserts numerical argument in gfx_str
- ; and skip_str commands, low or high byte.
- ; o NR100, NR10, NR1 inserts numerical argument in gfx_str
- ; and skip_str commands.
- ; E.g. "251" -> NR100 == 2, NR10 == 5, NR1 == 1
- ;
- ; BUGS: ';' is not valid. ; serve as a comment delimiter,
- ; use 59 or 0x3B instead.
- ;
- ; Valid separators are spaces, tabs and commas.
- ;
- ; The optimize and draft switches have no internal use, they only
- ; allow the user to switch quickly between different printing
- ; methods, resolutions or whatever. For example, `optimize' may
- ; determine the blanking method, and `draft' the resolution.
- ;
- ; init_str can use the LOW character. The value passed will be the
- ; number of 'pica' wide characters that fit on a line. This value is
- ; computed from paper_width. Note that most printer can only print
- ; over 8 inch, even though US paper is 8.5 inch wide. The correct
- ; value to set for paper_width is nevertheless 8.0in.
- ;
- ; Be very careful when modifying these values! You could meet the GURU.
- ;
- ; A more complete description of all the keywords is given at the end
- ; of this file. Please look at the configurations below first to get an
- ; idea of what you can do.
-
- ; These are true 360/360 dpi 24 pin printers
- printer NECP6
- draft off
- ;optimize on ; any choice
- resolution 360
- ID_str NEC P6 360dpi (POINT)
- description
- This is your favorite NEC P6 printer driver. You should use the option
- 'unidir off' too.
- end_desc
- gfx_str FS 'Z' LOW HIGH
- skip_str FS '3' LOW 10
- skips 1 47
- height 48
- blank POINT
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0x0 ESC 'Q' LOW
- exit_str 13 ESC 48
- paper_width 8.0in
- #
-
- ; Use these as NEC and EpsonLQ 180dpi (draft) modes
- ; All these entries are the same, exception taken from the blanking method.
-
- printer NECP6
- draft on
- ;optimize on
- ID_str NECP6/LQ 180dpi (POINT)
- resolution 180
- gfx_str ESC '*' 39 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 24
- blank POINT
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- ; These are 360/180 dpi 24 pin printers
- printer NECP6draft
- ;draft off
- ;optimize on ; any choice
- resolution 360/180
- ID_str NEC P6 360x180dpi (POINT)
- description
- This is a NEC P6 driver for 360x180dpi. This needs only on pass.
- end_desc
- gfx_str ESC '*' 40 LOW HIGH
- skip_str ESC '3' LOW 10
- skips 24
- height 24
- blank POINT
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13 ESC 48
- paper_width 8.0in
- #
-
- printer NECP6c
- draft off
- optimize on
- ID_str NEC P6 360dpi (SPACES)
- description
- Some compatibles printer's heads *do* backstep when using the ESC '$'
- `move to point' command. If this is not the case for your printer, you
- should use the NECP6c printer driver, which use either the SPACES or
- the GFX blanking method as defined below, instead of the regular POINT
- method above. The Citizen Swift 24 is known to required this
- configuration: great speed loss occurs while the printer's head moves
- back *and* forth on the same line with the POINT method.
- end_desc
- resolution 360
- gfx_str FS 'Z' LOW HIGH
- skip_str FS '3' LOW 10
- skips 1 47
- height 48
- blank SPACES
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13 ESC '0'
- paper_width 8.0in
- #
-
- printer NECP6c
- draft on
- optimize on
- ID_str NECP6/LQ 180dpi (SPACES)
- resolution 180
- gfx_str ESC '*' 39 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 24
- blank SPACES
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- printer NECP6c
- draft off
- optimize off
- resolution 360
- ID_str NEC P6 360dpi (GFX)
- gfx_str FS 'Z' LOW HIGH
- skip_str FS '3' LOW 10
- skips 1 47
- height 48
- blank GFX
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13 ESC '0'
- paper_width 8.0in
- #
-
- printer NECP6c
- draft on
- optimize off
- ID_str NECP6/LQ 180dpi (GFX)
- resolution 180
- gfx_str ESC '*' 39 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 24
- blank GFX
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- printer STYLUS
- draft off
- ;optimize on ; any choice
- resolution 360
- ID_str EPSON Stylus 800 360dpi (POINT)
- description
- EPSON Stylus 800 printer driver.
- Prints 360 * 360 dpi in one pass using 48 dots.
- (From: "Oliver Knorr" <olk@johann.nbg.sub.org>)
- end_desc
- gfx_str ESC '*' 73 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 48
- blank POINT
- grouping 6
- init_str ESC 'P' 18 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- printer STYLUS
- draft on
- ;optimize on ; any choice
- resolution 360
- ID_str EPSON Stylus 800 360dpi (POINT)
- description
- EPSON Stylus 800 economy printer driver.
- Prints 360 * 360 dpi in one pass using 48 dots.
- Econoy mode is not faster than standard mode,
- but uses less ink for a cheaper draft output.
- (From: "Oliver Knorr" <olk@johann.nbg.sub.org>)
- end_desc
- gfx_str ESC '*' 72 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 48
- blank POINT
- grouping 6
- init_str ESC 'P' 18 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
-
-
- printer LQ
- draft off
- optimize on
- ID_str Epson LQ 360/180dpi (SPACES)
- description
- This is for 360/180 24 pin printers like the Epson LQ 800
- end_desc
- resolution 360/180
- gfx_str ESC '*' 40 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 24
- blank SPACES
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- printer LQ
- draft off
- optimize off
- resolution 360/180
- ID_str Epson LQ 360/180dpi (GFX)
- gfx_str ESC '*' 40 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 24
- blank GFX
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- printer LQd
- draft off
- ;optimize on
- ID_str Epson LQ 360/180dpi (POINT)
- description
- Try this and see if your printer's head backsteps or not. Don't use
- this with the Epson LQ 800 for example.
- end_desc
- resolution 360/180
- gfx_str ESC '*' 40 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 24
- blank POINT
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- ; Epson FX (9 pin printer) and compatibles
-
- printer FX
- draft off
- ;optimize off ; any choice
- ID_str 9 pin printer 240/216dpi (POINT)
- description
- Use this configuration if your printer's head does *not* backstep when
- using the ESC '$' `move to point' command as used here. Otherwise use
- some 'FXc' type configuration
- end_desc
- resolution 240/216
- gfx_str ESC '*' 3 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 1 1 22
- height 24
- blank POINT
- grouping 1
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- prtbuffer 5000
- #
-
- printer FXc
- draft off
- optimize on
- ID_str 9 pin printer 240/216dpi (SPACES)
- resolution 240/216
- gfx_str ESC '*' 3 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 1 1 22
- height 24
- blank SPACES
- grouping 1
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- prtbuffer 5000
- description
- This is the standard driver for 9 pin FX compatible printers like the
- the Star SG 10 printers, if these do not know the ESC $ command or
- backstep when using it.
- end_desc
- #
-
- printer FXc
- draft off
- optimize off
- ID_str 9 pin printer 240/216dpi (GFX)
- resolution 240/216
- gfx_str ESC '*' 3 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 1 1 22
- height 24
- blank GFX
- grouping 1
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- prtbuffer 5000
- #
-
-
- printer LQ
- draft on
- optimize on
- ID_str LQ 180dpi (SPACES)
- resolution 180
- gfx_str ESC '*' 39 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 24
- blank SPACES
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- printer LQ
- draft on
- optimize off
- ID_str LQ 180dpi (GFX)
- resolution 180
- gfx_str ESC '*' 39 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 24
- blank GFX
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- printer LQd
- draft on
- optimize off
- ID_str LQ 180dpi (POINT)
- resolution 180
- gfx_str ESC '*' 39 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 24
- blank POINT
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- #
-
- ; 9 pin draft modes.
-
- printer FX
- draft on
- optimize on
- ID_str 9 pin printer 120/72dpi (POINT)
- description
- You could imagine a 120/144 or 72/72 draft mode...
- end_desc
- resolution 120/72
- gfx_str ESC '*' 1 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 8
- blank POINT
- grouping 1
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- prtbuffer 5000
- #
-
- printer FXc
- draft on
- optimize on
- ID_str 9 pin printer 120/72dpi (SPACES)
- description
- You could imagine a 120/144 or 72/72 draft mode...
- end_desc
- resolution 120/72
- gfx_str ESC '*' 1 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 8
- blank SPACES
- grouping 1
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- prtbuffer 5000
- #
-
- printer FXc
- draft on
- optimize off
- ID_str 9 pin printer 120/72dpi (GFX)
- resolution 120/72
- gfx_str ESC '*' 1 LOW HIGH
- skip_str 13 ESC 'J' LOW
- skips 24
- height 8
- blank GFX
- grouping 1
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str 13
- paper_width 8.0in
- prtbuffer 5000
- #
-
- ; these are the internal printer drivers. This file is only read for
- ; their description, not settings
-
- printer GENERIC
- description
- This driver uses your preferences printer. You can override the
- density with the DENSITY/-O switch. The optimize and draft switches
- have no meaning with this printer.
- end_desc
- #
-
- printer DeskJet
- optimize on
- description
- This driver is for the HP DeskJet. If you are using WB2.0 or the WB
- 1.3.3 parallel.device you may use the `turbo' (-T) option to get more
- speed. Use the compression mode.
- end_desc
- #
-
- printer DeskJet
- optimize off
- description
- This driver is for the HP DeskJet. If you are using WB2.0 or the WB
- 1.3.3 parallel.device you may use the `turbo' (-T) option to get more
- speed. Do not use the compression mode.
- end_desc
- #
-
- printer CheapDJ
- optimize on
- description
- This driver is for the HP DeskJet. It works like the DeskJet driver
- with one exception: it uses the cheap mode of the printer, thus saving
- some ink. Use the compression mode.
- end_desc
- #
-
- printer CheapDJ
- optimize off
- description
- This driver is for the HP DeskJet. It works like the DeskJet driver
- with one exception: it uses the cheap mode of the printer, thus saving
- some ink. Do not use the compression mode.
- end_desc
- #
-
- printer LaserJet
- optimize on
- description
- This driver is for the HP LaserJet. It is nearly the same as the
- DsekJet driver. It uses no Font-Downloading. Sorry.
- Use the compression mode.
- end_desc
- #
-
- printer LaserJet
- optimize off
- description
- This driver is for the HP LaserJet. It is nearly the same as the
- DsekJet driver. It uses no Font-Downloading. Sorry.
- Do not use the compression mode.
- end_desc
- #
-
- printer LaserJet4
- optimize on
- description
- This driver is for the HP LaserJet 4. It is nearly the same as the
- DsekJet driver. It uses no Font-Downloading. Sorry.
- Normal mode use 600dpi, draft uses 300dpi.
- Use the compression mode.
- end_desc
- #
-
- printer LaserJet4
- optimize off
- description
- This driver is for the HP LaserJet 4. It is nearly the same as the
- DsekJet driver. It uses no Font-Downloading. Sorry.
- Normal mode use 600dpi, draft uses 300dpi.
- Do not use the compression mode.
- end_desc
- #
-
-
- printer NECP7
- draft off
- ;optimize off ; optimization does not matter
- resolution 360
- ID_str NEC P7 360dpi (POINT)
- description
- This is a driver for the NEC P7 printer, which has an extra large
- tractor, 13.6 inch wide.
- end_desc
- gfx_str FS 'Z' LOW HIGH
- skip_str FS '3' LOW 10
- skips 1 47
- height 48
- blank POINT
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str ESC 48
- paper_width 13.6in
- #
-
- printer NECP7
- draft on
- ;optimize off ; optimization does not matter
- resolution 180
- ID_str NEC P7 180dpi (POINT)
- description
- This is a driver for the NEC P7 printer, which has an extra large
- tractor, 13.6 inch wide.
- end_desc
- gfx_str FS 'Z' LOW HIGH
- skip_str FS '3' LOW 10
- skips 24
- height 24
- blank POINT
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str ESC 48
- paper_width 13.6in
- #
-
-
- printer FujitsuDL1100
- draft off
- optimize off
- ID_str FujitsuDL1100 (SPACES)
- description
- Fujitsu DL1100 mit Befehlssprache DPL24C+, Blankmethode SPACES
- end_desc
- resolution 360
- gfx_str ESC '*' 40 LOW HIGH
- skip_str 13 ESC 'e' 'J' NR100 NR10 NR1
- skips 1 47
- height 48
- blank SPACES
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str ESC 64
- paper_width 8.0in
- #
-
- printer FujitsuDL1100
- draft off
- optimize on
- ID_str FujitsuDL1100 (GFX)
- description
- Fujitsu DL1100 mit Befehlssprache DPL24C+
- end_desc
- resolution 360
- gfx_str ESC '*' 40 LOW HIGH
- skip_str 13 ESC 'e' 'J' NR100 NR10 NR1
- skips 1 47
- height 48
- blank GFX
- grouping 3
- init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
- exit_str ESC 48
- paper_width 8.0in
- #
-
-
- printer BJ300
- draft off
- ;optimize on ; any choice
- resolution 360
- ID_str Canon BJ 300 360dpi (SPACES)
- description
- Canon BJ300 in IBM Proprinter emulation mode.
- For best results, use your BJ300 in Prowriter mode only, so
- that one line can be printed in one pass. In the Epson LQ mode,
- a single pass can only print 360x180 dpi.
- Please note, that it matters whether the printer is in HQ (High
- Quality) or HS (High Speed) mode!
- (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
- end_desc
- gfx_str FS 'C' 'B' 4 4 LOW HIGH
- skip_str FS 'C' 'J' 4 LOW 13
- skips 48
- height 48
- blank SPACES
- grouping 6
- init_str ESC 'R' ESC 'I' 2
- exit_str 13
- paper_width 8.0in
- #
-
- printer BJ300
- draft on
- ;optimize on ; any choice
- resolution 360/180
- ID_str Canon BJ 300 360/180dpi (SPACES)
- description
- Canon BJ300 in IBM Proprinter emulation mode.
- Only dviprint and transfer to the printer will be faster.
- The printer itself uses the same resolution (and speed)
- as in 360x360dpi mode and makes makes every dot a little square.
- You might siwtch the printer to HS mode manually, or change
- 'init_str' to "ESC 'R' ESC 'I' 0"
- (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
- end_desc
- gfx_str FS 'C' 'B' 0 4 LOW HIGH
- skip_str FS 'C' 'J' 0 LOW 13
- skips 24
- height 24
- blank SPACES
- grouping 3
- init_str ESC 'R' ESC 'I' 2
- exit_str 13
- paper_width 8.0in
- #
-
- printer BJ200
- draft off
- ;optimize on ; any choice
- resolution 360
- ID_str Canon BJ 200 360dpi (SPACES)
- description
- Canon BJ 200 in IBM Proprinter emulation mode.
- For best results use your BJ200 in BJ10 mode only, so that one line
- can be printed in one pass. In the Epson LQ mode, a single pass can
- only print 360x180 dpi. Please note that it matters whether the
- printer is in HQ (High Quality) or HS (High Speed) mode.
- (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
- (Modified by Dietmar Heidrich)
- end_desc
- gfx_str FS 'C' 'B' 4 4 LOW HIGH
- skip_str FS 'C' 'J' 4 LOW 13
- skips 48
- height 48
- blank SPACES
- grouping 6
- init_str ESC 'R' ESC 'I' 2
- exit_str 13
- paper_width 8.0in
- #
-
- printer BJ200
- draft on
- ;optimize on ; any choice
- resolution 360
- ID_str Canon BJ 200 360dpi (SPACES)
- description
- Canon BJ 200 in IBM Proprinter emulation mode with draft.
- Please note that the printer remains in draft mode when the print
- job is done.
- (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
- (Modified by Dietmar Heidrich)
- end_desc
- gfx_str FS 'C' 'B' 4 4 LOW HIGH
- skip_str FS 'C' 'J' 4 LOW 13
- skips 48
- height 48
- blank SPACES
- grouping 6
- init_str ESC 'R' ESC 'I' 0
- exit_str 13
- paper_width 8.0in
- #
-
-
- printer BJ130draft
- draft off
- optimize on
- ID_str Canon BJ130 180dpi (SPACES)
- description
- Canon BJ130 draft 180dpi, Blankmethode SPACES
- (From: Norvald Espedal <norvald@broremann.hsr.no>)
- end_desc
- resolution 180
- gfx_str FS 'C' 'B' 0 0 LOW HIGH
- skip_str 13 13 FS 'C' 'J' 0 LOW
- skips 24
- height 24
- blank SPACES
- grouping 3
- init_str 18 ESC 'P' 0 ESC 'l' 0 ESC 'Q' LOW
- exit_str 13 ESC 64
- paper_width 8.0in
- #
-
- printer BJ130
- draft off
- optimize on
- ID_str Canon BJ130 360dpi (SPACES)
- description
- Canon BJ130 360dpi, Blankmethode SPACES
- (From: Norvald Espedal <norvald@broremann.hsr.no>)
- end_desc
- resolution 360
- gfx_str FS 'C' 'B' 4 4 LOW HIGH
- skip_str 13 13 FS 'C' 'J' 4 LOW
- skips 48
- height 48
- blank SPACES
- grouping 6
- init_str 18 ESC 'G' ESC 'P' 0 ESC 'l' 0 ESC 'Q' LOW
- exit_str 13 ESC 64
- paper_width 8.0in
- #
-
- printer CanonLBP
- description
- This driver is for the Canon laserwriter.
- It is not finished. It may work or not!!
- end_desc
- #
-
- ; Keywords and possibilities:
- ;
- ; printer
- ; - no space allowed in name, avoid $ as may be filtered out by
- ; some shells.
- ; - This keyowrd starts a configuration definition. If other
- ; keywords are found first, an 'out of context' error will
- ; occur.
-
- ; draft
- ; - should come (if used) after the printer keyword.
- ; - allows to choose different definitions according to the
- ; draft option supplied to DVIprint. If not used, the first
- ; matching definition will be used. DViprint's default is
- ; draft off.
- ;
- ; This does not change the work of the driver. It's only for
- ; you, to distinguish different entries.
-
- ; optimize
- ; - should come (if used) after the printer keyword. 'draft' and
- ; 'optimize' may come in any order.
- ; - allows to choose different definitions according to the
- ; optimize option supplied to DVIprint. If not used, the first
- ; matching definition will be used. DVIprint's default is
- ; optimize on.
- ;
- ; This does not change the work of the driver. It's only for
- ; you, to distinguish different entries. With draft and otimize,
- ; you can make 4 different entries for 'one' printer name.
-
- ; ID_str
- ; - use recommend.
- ; - only one line long.
- ; - will be put in logfile, for information
- ; - should come after 'printer', 'draft', and 'optimize', this
- ; for efficiency while parsing the configuration file.
-
- ; The following keywords are reserved for the standard (i.e. the one
- ; that you can define) drivers only. They cannot be used with the
- ; special drivers DVIprint knows about (generic, SLM084(ATARI only),
- ; DeskJet, and CheapDJ)
-
- ; resolution
- ; - unit (implizit): dpi
- ; - <nn> for square resolution (like NEC 360 dvpi)
- ; - <hh/vv> for non square ones (like FX 80, Epson LQ 800 360/180
-
- ; gfx_str
- ; - sequence sent to the printer to initiate a graphics sequence
- ; - Allows parameters LOW, HIGH: the number of bytes sent will
- ; be inserted (number of bytes/3 for 24 pin printers)
-
- ; skip_str
- ; - sequence sent to the printer to skip lines, the number of
- ; lines is given by the 'skips' keyword. Only the LOW
- ; parameter is allowed, meaning that DVIprint is not able to
- ; skip more than 255 line in one command
- ; - the string may or may not depend on the printers resolution,
- ; as some skip commands skip n/216, n/180, or n/360 dpi wide.
-
- ; skips
- ; - array of numbers. In each pass, the corresponding number is
- ; given as the LOW parameter to the skip_str command.
- ; - DVIprint will generate as many passes as number found here.
-
- ; height
- ; - because printers have a given number of pins and print them
- ; in one row, and because DVIprint can will print all passes
- ; as defined in the 'skips' array, the height of the internal
- ; bitmap must be a multiple of this value. For example, the
- ; NEC prints 24 pins in one row, but prints in two passes in
- ; 20dpi mode, the heigt must be a multiple of 48. The Epson FX
- ; prints 240/216dpi in 3 passes, has 8 pins in one row, thus
- ; the value of 24. If this value is not correct, DVIprint may
- ; read innocent memory an print garbage graphics on the
- ; document!
-
- ; blank
- ; - chooses between 3 blanking methods:
- ; - GFX: From the left edge of where graphics really starts
- ; (not the left border of the printer), to the right end of
- ; the graphics (not the right border of the printer), a
- ; single graphics command is used. Spaces are used to fill
- ; the left border.
- ; - SPACES: Spaces are used to fill the left border, but are
- ; also used when between the left and the right border,
- ; there is enough room for at least 6 spaces. this speeds up
- ; printing of large tables which have borders.
- ; - POINT: Every space is skipped by the use of the ESC '$'
- ; command. This is the most efficient method in terms of
- ; bytes sent to the printer, but *not* all printers support
- ; this command. (My Star SG10 doesn't)
-
- ; grouping
- ; - define if this printer has 8 or 24 pins (or better if 8 or
- ; 24 pins should be used in this configuration, as you can for
- ; example print Epson FX wise on the NEC P6, using only 8
- ; pins, the corresponding entry then says 8)
-
- ; paper_width
- ; - specified in a TeX dimension (as used to define the offsets
- ; in ShowDVI und DViprint).
- ; - used to usually define the width of your printer, or if you
- ; have special paper, such as for printing labels, you may set
- ; the appropriate value here. This will avoid printing garbage
- ; over the right edge of your labels, even if you misdefine
- ; the page size for these in your .tex document
- ; - this entry was first added because of the US vs. European
- ; paper_width problem. Many TeX documents are defined 8.5 inch
- ; wide paper, but most printers are only 8 inch wide, and do
- ; not allow any programm to send them too much data (you then
- ; eventually had to reset your printer manually). Thus this
- ; value is *important*!
-
- ; init_str
- ; - used to initialze the printer. It is important that the
- ; printer is set in pica mode for the spaces (and GFX)
- ; blanking method to work, otherwise the printout will be
- ; misaligned.
- ; - It is also important that the margins be set, otherwise your
- ; printout may be lacking the right side, not start on the
- ; left border, present superfluous skips causing lots of
- ; unaesthetic and unusable printouts.
- ; - the left border should be set to 0
- ; - right border sould be set to some really useful value (for
- ; example 80 pica positions for all the 8 inch wide printers).
- ; The use of the LOW parameter permits a setting of the width
- ; according to the 'paper_width' keyword. The LOW value thus
- ; holds the number of pica characters that your printer is
- ; able to print. It is therefore important that the printer be
- ; set to pica mode first!
-
- ; exit_str
- ; - used to reset printers, in case the hardcopy modified
- ; important parameters like the line spacing.
- ; - normally unused except for NEC P6/P7 in 360 dpi mode,
- ; because then the printer skips lines by setting the line
- ; height to 1/360 inch, thus the need to reset it at the end.
- ; - this string is not used if the printing is aborted.
- ; - I recommend an exit_str containing at least CR, to force the
- ; printer to flush its internal buffer.
-
- ; prtbuffer
- ; - Data are being buffered in a buffer that large before being
- ; sent to the printer.device.
- ; - Epson FX amd compatibles are known to cause 'printer
- ; trouble' requesters with the default value of DVIprint
- ; (currently 10K), because DVIprints optimizations result in
- ; less data being sent to the printer, while still using 10K
- ; blocks, and then the printer.device wonders why the printer
- ; needs so much time to print 'only' 10K. This happens more on
- ; partially white pages, because skipping lines takes a lot of
- ; time to printers. I does not usually happen on loaded pages,
- ; because the buffer then gets filled rapidly. A value between 4000
- ; and 5000 bytes is recommdend for the Epson FX.
-
- ; description
- ; - should come towards end of printer configuration.
- ; - Every line till the 'end_desc' keyword is dumped to the
- ; Screen if you start DVIprint with 'DVIprint [printer <name>]
- ; ShowPrinters'. That way you can get a quick overview of the
- ; different modes available for a given printer.
-
- ; end_desc
- ; - marks end of description
-
- ; Further notes:
-
- ; Use 'DVIprint showprinters' to see available names and ID_strings
- ; (that's why it's nice to define the ID_str)
-
- ; Use 'DVIprint printer <name> [draft [on|off]] [optimize [on|off]]
- ; showprinters' to get a screen dump of the actual configuration. This
- ; will help you ensure that DVIprint got the correct values. You can
- ; even supply a DVI file name.
-
- ; J\"org H\"ohle
- ; 6-Aug-1991
-